﻿using System;
using System.Collections.Generic;
using System.Text;

namespace LoginServer
{
    public class MachineReceiveEventArgs : EventArgs
    {
        public byte[] Data { get; private set; }
        public MachineConnection user { get; private set; }
        public MachineReceiveEventArgs(byte[] data, MachineConnection user)
        {
            this.Data = data;
            this.user = user;
        }
    }
    public class MachineDisconnectEventArgs : EventArgs
    {
        public MachineConnection machine { get; private set; }
        public MachineDisconnectEventArgs(MachineConnection machine)
        {
            this.machine = machine;
        }
    }
}
